package com.iptv.grape.net.Entity;

import android.util.Log;

import com.google.gson.Gson;

// 启动图返回结果实体类
public class RunImgResult extends NetBaseResult{
    private RunImgDataResult data;

    public RunImgDataResult getData(){
        return this.data;
    }

    public void setData(RunImgDataResult data){
        this.data = data;
    }

    public static RunImgResult createForJson(String json){
        try {
            RunImgResult runImgResult = new Gson().fromJson(json, RunImgResult.class);
            return runImgResult;
        }
        catch (Exception e){
            Log.e("RunImgResult", e.getMessage() );
            return null;
        }
    }
}

